# streamlit run sqrtStreamLit.py
import streamlit as st
from math import sqrt

x = st.slider('x')  # this is a widget

st.write(x, 'squared is', x * x)
st.write(x, 'square root is', sqrt(x))